package com.pand.model.paramcfg;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 
 * @Title: SysParamCfg.java
 * @Package com.woasis
 * @Description:
 * @author zzw
 * @date 2015-10-14 10:57:18
 * @version V1.0
 */
@Entity
@Table(name = "SYS_PARAM_CFG")
@SequenceGenerator(name = "seqSysParamCfg", sequenceName = "SEQ_SYS_PARAM_CFG", allocationSize = 1)
public class SysParamCfg implements Serializable {

	/** 
	 * @Fields serialVersionUID : 
	 */ 
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	private Long id;
	
	/**
	 * 参数名称
	 */
	private String paramName;
	
	/**
	 * 值
	 */
	private String paramValue;
	
	/**
	 * key
	 */
	private String paramKey;

	@Id
	@GeneratedValue(generator = "seqSysParamCfg")
	@Column(name = "ID", unique = true, nullable = false, precision = 20, scale = 0)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "PARAM_NAME")
	public String getParamName() {
		return this.paramName;
	}

	public void setParamName(String paramName) {
		this.paramName = paramName;
	}

	@Column(name = "PARAM_VALUE")
	public String getParamValue() {
		return this.paramValue;
	}

	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	@Column(name = "PARAM_KEY")
	public String getParamKey() {
		return paramKey;
	}

	public void setParamKey(String paramKey) {
		this.paramKey = paramKey;
	}
}
